﻿namespace com.savealot.SharePoint
{
    using System.Collections.Generic;

    public class SitePageDefn
    {
        #region Fields

        public List<WebPartDefn> _WebParts;

        #endregion Fields

        #region Properties

        public string PageName
        {
            get;
            set;
        }

        public string PageTitle
        {
            get;
            set;
        }

        public List<WebPartDefn> Webparts
        {
            get
            {
                if ( _WebParts == null )
                    _WebParts = new List<WebPartDefn>( );
                return _WebParts;
            }
            set
            {
                _WebParts = value;
            }
        }

        #endregion Properties
    }
}